﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<bolsatrabajo.Dominio.NHIBERNATE.Postulante>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Lista de Postulantes
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Index</h2>

    <table>
        <tr>
            <th>Acciones</th>
            <th>DNI</th>
            <th>Nombres</th>
            <th>Apellido Paterno</th>
            <th>Correo</th>
        </tr>

    <% foreach (var item in Model) { %>
    
        <tr>
            <td>
                <%: Html.ActionLink("Editar", "Edit", new { Codigo = item.Correo }) %> |
                <%: Html.ActionLink("Ver", "Details", new { Codigo = item.Correo })%> |
                <%: Html.ActionLink("Eliminar", "Delete", new { Codigo = item.Correo })%>
            </td>
            <td>
                <%: item.Dni %>
            </td>
            <td>
                <%: item.Nombres %>
            </td>
            <td>
                <%: item.ApellidoPaterno %>
            </td>
            <td>
                <%: item.Correo %>
            </td>
        </tr>
    
    <% } %>

    </table>

    <p>
        <%: Html.ActionLink("Nuevo", "Create") %>
    </p>

</asp:Content>

